Skip to content

Conversation

albertxing
Copy link
Contributor

Follow-up to #205
After upgrading to the latest release, we found that there were still a couple of types that were mismatched or missing compared to better-sqlite3. In particular:

  • The return type for Database.transaction was missing the fields attached to the function (e.g. immediate, deferred)
  • Database.inTransaction was not present (because it's assigned as a getter via defineProperty)
  • Statement.run returned object instead of RunResult

@penberg penberg merged commit cb5a439 into tursodatabase:main Oct 16, 2025
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants